﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Register.Model;

namespace Register.IDAL
{
    /// <summary>
    /// FileName: IAnnouncementDAL.cs
    /// CLRVersion: 4.0.30319.269
    /// Author: WangKunLun
    /// Corporation: 
    /// Description: 
    /// DateTime: 2012/6/30 17:29:12
    /// </summary>
    public  interface IAnnouncementDAL
    {
        int AddAnnouncement(Announcement announcementInfo);
        int DeleteAnnouncement(String announcementID);
        int UpdateAnnouncement(Announcement announcementInfo);
        List<Announcement> GetPagedAnnouncement(int size, int pageIndex, String where);
        bool Exists(string Announcement_Title);
        Announcement GetAnnouncement(String AnnouncementID);
        int GetAnnouncementCount(String where);
    }
}
